<template>
    <div class="msgbox">
        <msg-top-bar :title="$route.name"></msg-top-bar>
        <div class="send">
            <better-scroll>
                <contacts-item v-for="(item, index) in msglist" :title='item' :key="index" ></contacts-item>
            </better-scroll>
        </div>
        <div class="bottom_input">
            <input type="text" name="" placeholder="请羞羞地聊天" v-model="msgval" value="jalsdjf" id="">
            <span class="btn_send" v-waves>发送</span>
        </div>
    </div>
</template>
<script>
export default {

    data(){
        return {
            msgval:"",
            msglist:[]
        }
    },
    methods:{
       
        
        
    },
    mounted(){

    }

        
}
</script>

<style lang="scss" scoped>

.bottom_input{
    position: absolute;
    bottom: 0;
    left: 0rem;
    right: 0rem;
    height: $bottomNavHeight;
    background: $Navbar_bg_color;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    input{
        height: 2.5rem;
        flex: 1;
        font-size:1.2rem;
        color: rgb(121, 120, 120); 
        margin-right: 0.5rem;
        border: 0;
        padding: 0 0.5rem;
        border-radius: 0.5rem;
    }
    .btn_send{
        background: $sele_bar_color;
        padding: 0.6rem 0.4rem;
        display: block;
        color: #fff;
        font-size: 1rem;
        border-radius: 0.4rem;
        width: 7rem;
        text-align: center
    }
}

</style>

